/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const filmRouter = {
  path: '/pian',
  component: Layout,
  redirect: '/',
  alwaysShow: true,
  meta: { title: '排片', icon: 'zip' },
  children: [
    {
      path: 'list',
      component: () => import('@/views/pian/pian-list'),
      name: 'pian-list',
      meta: { title: '排片列表' }
    },
    {
      hidden: true,
      path: 'edit',
      component: () => import('@/views/pian/pian-edit'),
      name: 'pian-edit',
      meta: { title: '编辑排片' }
    },
    {
      hidden: true,
      path: 'buy',
      component: () => import('@/views/pian/pian-buy'),
      name: 'pian-buy',
      meta: { title: '购票' }
    },
    {
      hidden: true,
      path: 'printer',
      component: () => import('@/views/pian/pian-printer'),
      name: 'pian-printer',
      meta: { title: '打印影票' }
    }
  ]
}
export default filmRouter
